/* function moreLi() {
  var more = document.getElementById('more');
  more.style.display = 'none';
  $('.more_li').css('display', 'block');
  $('.slide_nav_ul').slideUp(1);
  $('.slide_nav_ul').slideDown(500);


} */
var more = document.getElementById('more');
var moreli = document.getElementsByClassName('more_li');
var slide_nav = document.getElementById('slide_nav');
// more.style.display = 'block';
// if (more.style.display == 'block') {
//   var i = 0;
//   for (i; i < moreli.length; i++) {
//     moreli[i].style.display = 'none';
//   }
// }

more.onmouseover = function () {
  more.style.display = 'none';
  var i = 0;
  for (i; i < moreli.length; i++) {
    moreli[i].style.display = 'block';
  }
};
slide_nav.onmouseleave = function () {
  more.style.display = 'block';
  var i = 0;
  for (i; i < moreli.length; i++) {
    moreli[i].style.display = 'none';
  }
};
